Page({
  data: {
    windowHeight: 100,
    article: [],
    title: " ",
    count1: " ",
    url: "",
    addr: "",
    catalogTreeName: '',
    name: '',
    content: ''
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function(options) {
    var that = this;

    that.setData({
      catalogTreeName: options.catalogTreeName,
      name: options.name,
      content: options.content
    });
    //设置scroll-view高度
    wx.getSystemInfo({
      success: function(res) {
        that.setData({
          windowHeight: res.windowHeight
        });
      }
    });
  },


})